package com.dc.designPattern._4_builder.impl.old;

/**
 * Description: 原始逻辑，构建房子抽象类
 * @author: gdc
 * @date: 2021/3/9
 * @version 1.0
 */
public abstract class AbstractHouse {

	/**
	 * 打地基
	 */
	public abstract void buildBasic();
	/**
	 * 砌墙
	 */
	public abstract void buildWalls();
	/**
	 * 封顶
	 */
	public abstract void roofed();

	/**
	 * 构建过程
	 */
	public void build() {
		buildBasic();
		buildWalls();
		roofed();
	}
	
}